if(navigator.geolocation){
	navigator.geolocation.watchPosition(showPosition);
}else{
	document.write("该浏览器不支持获取地理位置。");
}
// console.log("sadasd");
function showPosition(position){
	document.write("纬度: " + position.coords.latitude +"<br>经度: " + position.coords.longitude);	
}